package com.company.eos.service;

import com.company.eos.common.util.PageUtils;
import com.company.eos.domain.AuditExpense;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;

/**
* @author Real
* @description 针对表【tb_audit_reim(报销单表)】的数据库操作Service
* @createDate 2022-04-28 18:31:47
*/
public interface AuditExpenseService extends IService<AuditExpense> {

    /**
     * 查询报销分页数据
     *
     * @param param
     * @return
     */
    PageUtils searchExpenseByPage(HashMap param);

    /**
     * 新增报销记录
     *
     * @param reim
     * @return
     */
    int insert(AuditExpense reim);

    /**
     * 根据ID查询报销单详情
     *
     * @param param
     * @return
     */
    HashMap searchExpenseById(HashMap param);

    /**
     * 删除报销记录
     *
     * @return
     */
    int deleteExpenseById(HashMap param);

}
